using Order.Domain.Base;
using Order.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.Domain.OrderDomain
{
    /// <summary>
    /// 挂号信息实体
    /// </summary>
    [Table("Registration")]
    public class Registration : BaseEntity
    {
        /// <summary>
        /// 就诊时间
        /// </summary>
        public DateTime? VisitTime { get; set; }

        /// <summary>
        /// 就诊医院
        /// </summary>
        public string? Hospital { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public DeptEnum? Department { get; set; }

        /// <summary>
        /// 医生
        /// </summary>
        public string? Doctor { get; set; }

        /// <summary>
        /// 医生职称
        /// </summary>
        public string? DoctorTitle { get; set; }

        /// <summary>
        /// 医事服务费
        /// </summary>
        public decimal? MedicalServiceFee { get; set; }

        /// <summary>
        /// 挂号单号
        /// </summary>
        public string? RegistrationNo { get; set; }

        /// <summary>
        /// 患者Id
        /// </summary>
        public int? PatientId { get; set; }

        /// <summary>
        /// 挂号订单Id
        /// </summary>
        public int? RegistrationOrderId { get; set; }
    }
}